package com.huikeportal.dao;

import java.util.List;

import com.huikeportal.model.PosDataManagerInfo;
import com.huikeportal.model.RegionTree;
import com.huikeportal.model.RegionType;
import com.huikeportal.model.SiteAllInfo;
import com.huikeportal.model.SiteDataManagerInfo;
import com.huikeportal.model.SiteNode;
import com.huikeportal.model.UserInfo;
import com.huikeportal.model.WordBook;
import com.huikeportal.model.common.PageDataVo;

public interface SiteDataManagerMapper {

	List<SiteDataManagerInfo> querySiteDataList(PageDataVo pageDataVo) throws Exception;

	int querySiteDataTotal(PageDataVo pageDataVo) throws Exception;
	
	List<SiteAllInfo> getSitesByUser(UserInfo userInfo) throws Exception;
	
	void updateSiteData(SiteDataManagerInfo siteDataManagerInfo) throws Exception;
	
	SiteDataManagerInfo queryBySiteId(String siteId) throws Exception;
	
	List<RegionType> getFloorBySquareId(String squareId) throws Exception;
	
	List<RegionType> getProvincesByCountryId(String countryId) throws Exception;
	
	List<RegionType> getCitysByProvinceId(String province) throws Exception;
	
	List<RegionType> getAreasByCityId(String cityId) throws Exception;
	
	List<SiteNode> getSiteByUser(UserInfo userInfo) throws Exception;
	
	List<SiteAllInfo> getAllJtSites(SiteAllInfo siteAllInfo) throws Exception;
	
	List<SiteAllInfo> getAllGcSitesByJt(SiteAllInfo siteAllInfo) throws Exception;
	
	List<SiteAllInfo> getAllDySitesByJt(SiteAllInfo siteAllInfo) throws Exception;
	
	List<SiteAllInfo> getAllGcSitesByDy(SiteAllInfo siteAllInfo) throws Exception;
	
	List<SiteAllInfo> getAllSitesByGc(SiteAllInfo siteAllInfo) throws Exception;
	
	List<SiteAllInfo> getStoresByGc(SiteAllInfo siteAllInfo) throws Exception;
	
	List<SiteAllInfo> getFloorsByGc(SiteAllInfo siteAllInfo) throws Exception;
	
	List<SiteAllInfo> getStoresByFloor(SiteAllInfo siteAllInfo) throws Exception;
}